package string;
/** String和StringBuilder的对比 */
public class StringStringBuilderDemo {
    public static void main(String[] args) {
        StringBuilder s = new StringBuilder("a");
        for (int i=0;i<10;i++){
            s.append(i);
        }
        System.out.println("执行完毕");
    }
}
